////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CCY_EXCHANGE
// AUTHOR           :   Ric Yik 
// DATE CREATE      :   2006/01/11
// DESCRIPTION      :   StatusConstantOptionsTag
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/01/11   Ric Yik         1.0                 source is created.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.util.web.taglib;


public class StatusConstantOptionsTag extends ProjectCustomOptionsTag {

    private String type;

    public StatusConstantOptionsTag() {
        super();
        this.setTable("T_SYS_CONSTANTS");
        this.setValuecolumn("CONSTANT_CODE");
        this.setTextcolumn("CONSTANT_NAME");
        this.setOrder("ORDER_SEQ");
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    protected String makeWhereClause() {
        return "TYPE = '" + this.getType() + "'";
    }

}
